Gatsby Default StarterGatsby logo

#LinuxClient #WindowsClient

sudo apt install openssh-server -y

code to install openssh to linux machine.

ssh client is already integrated, we install a server ssh.

192.168.6.147

find the ip address in the machine (which is connected with NAT) with ifconfig or ipconfig

go to the real machine cmd , write ssh (username_of_vm)@(ip_address_of_vm)

like ssh admin3@192.168.6.147

then boom ! we're connected to the machine's terminal

![[Pasted image 20240321154812 1.png]]

Or to connect with a file commander / FTP

Choose port 22 , host is the ip address, enter the username and password and connect to the client from the host.

![[Pasted image 20240321155535 1.png]]

Here we see all the files in the Linux client.

That's crazy !

FTP uses port 21 SSH uses port 22